/**
 * Copyright (C) 2021 - 2031 O-Cubes Co., Ltd.
 */

/****************************************************************
 *  @file    drv.h
 *  @brief   Drivers header file
 *  @version v1.0
 *  @date    03. Apr. 2023
 *  @author  liuchao
 ****************************************************************/

#ifndef __DRV_H__
#define __DRV_H__

#include "device_uart.h"
#include "device_spi.h"
#include "device_timer.h"
#include "device_gpio.h"
#include "device_i2c.h"
#include "dev_gpio.h"
#include "dev_uart.h"
#include "dev_timer.h"
#include "pwm.h"
#include "dw_spi.h"
#include "dw_i2c.h"
#include "dw_wdt.h"
#include "syscounter.h"
#include "dw_rtc.h"
#include "sfud.h"
#include "arc.h"
#include "crg.h"
#include "pcl.h"
#include "dma.h"
#include "sec.h"
#include "efuse.h"
#include "sdadc.h"
#include "pmu.h"
#include "isp.h"
#include "saradc.h"
#include "monitor.h"
#include "dw_uart.h"

#ifdef __cplusplus
extern "C" {
#endif

#define DRV_CHECK_EXP(EXPR, ERROR_CODE) CHECK_EXP(EXPR, ercd, ERROR_CODE, error_exit)

/* Driver Initialize */
extern void Drv_Init(void);

#ifdef __cplusplus
}
#endif

/** @} */

#endif /* __DRV_H__ */

